package com.linys.scala.study.traittest

/**
  * Created by admin on 2019/10/15.
  */
object Test {
  def main(args: Array[String]) :Unit = {
    val p1 = new Point(2, 3)
    val p2 = new Point(2, 4)
    val p3 = new Point(3, 3)

    println(p1.isEqual(p2))
    println(p1.isEqual(p3))
    println(p1.isNotEqual(2))
  }
}
